home *** CD-ROM | disk | FTP | other *** search
- #ifndef __SAMPLEAEVT__
- #define __SAMPLEAEVT__
-
- #ifndef __EVENTS__
- #include <Events.h>
- #endif
-
- #ifndef __APPLEEVENTS__
- #include <AppleEvents.h>
- #endif
-
- #define typePoint 'poin'
-
- extern void InitAppleEvents(void);
- extern pascal OSErr CoerceAliasToFSS(AEDesc theAEDesc, DescType toType,
- long handlerRefcon, AEDesc *result);
- extern OSErr MakeTarget(AEAddressDesc *target, Boolean sendDirect, short replyMode);
- extern void CreateAndSendAppleEvent(AEEventID whichAppleEvent);
- extern OSErr MoveTheFrontWindow(AppleEvent message, AppleEvent reply, long refcon);
- extern Boolean MissedAnyParameters(AppleEvent message);
- extern OSErr OpenDocEventHandler(AppleEvent message, AppleEvent reply, Boolean forPrinting);
- extern pascal OSErr DispatchAppleEvent(AppleEvent message, AppleEvent reply, long refcon);
- extern void DoHighLevelEvent(EventRecord *event);
-
- #endif __SAMPLEAEVT__